home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_500 / wiconify / wiconify-source.lzh / Source / wFile.h < prev    next >
C/C++ Source or Header  |  1991-04-19  |  2KB  |  74 lines

  1. /*
  2.  *  WICONIFY    A utility that allows you to iconify any Intuition window
  3.  *              on any screen, and to open WB windows on any screen.
  4.  *
  5.  *  wFile.h     Defines and structures for the initialization file.
  6.  *
  7.  *  Copyright 1990 by Davide P. Cervone, all rights reserved.
  8.  *  You may use this code, provided this copyright notice is kept intact.
  9.  */
  10.  
  11. #define INTUITION_SCREEN_H                  /* don't need 'em */
  12. #include "wIconify.h"
  13. #include "wExtern.h"
  14.  
  15.  
  16. #define MAXLINE             132
  17. #define MAXWIDTH            78
  18. #define MAXWORDS            5
  19. #define MAXHEIGHT           32
  20. #define MAXDEPTH            5
  21.  
  22.  
  23. /*
  24.  *  The commands allowed in the initialization file
  25.  */
  26.  
  27. #define COM_NONE            0
  28. #define COM_ICONKEY         1
  29. #define COM_CHANGEREFRESH   2
  30. #define COM_ACTIVEKEY       3
  31. #define COM_COLORMAP        4
  32. #define COM_DEFAULTFLAGS    5
  33. #define COM_SCREENFLAGS     6
  34. #define COM_MENUKEYS        7
  35. #define COM_IGNORESCREEN    8
  36. #define COM_PRIORITY        9
  37. #define COM_HIRESCLICOM     10
  38. #define COM_LORESCLICOM     11
  39. #define COM_DEFAULTIMAGE    12
  40. #define COM_DEFAULTSELECT   13
  41. #define COM_DEFAULTMASK     14
  42. #define COM_DEAFULTICON     15
  43. #define COM_SCREENIMAGE     16
  44. #define COM_SCREENSELECT    17
  45. #define COM_SCREENMASK      18
  46. #define COM_SCREENICON      19
  47. #define COM_OPENON          20
  48. #define COM_AUTORESIZE      21
  49. #define COM_COMMANDSTACK    22
  50. #define COM_HANDLERPRI      23
  51. #define COM_EOF             99
  52. #define COM_UNKNOWN         100
  53.  
  54. #define COM_LAST            COM_HANDLERPRI
  55.  
  56.  
  57. #define WORDMATCH(w)        (stricmp(Word,w) == 0)
  58.  
  59. struct Flag
  60. {
  61.    char *Name;
  62.    ULONG Flag;
  63. };
  64.  
  65.  
  66. #ifndef FILE
  67. #define FILE    APTR
  68. #endif
  69.  
  70. extern FILE *InFile;
  71. extern int EndOfFile;
  72. extern char NextChar;
  73. extern char Word[MAXLINE+1];
  74.